cURL
curl --request GET \ --url https://api.getmaxim.ai/v1/prompt-partials/versions \ --header 'x-maxim-api-key: <api-key>'
{ "data": [ { "id": "<string>", "promptPartialId": "<string>", "version": 123, "description": "<string>", "content": "<string>", "createdById": "<string>", "createdAt": "<string>", "updatedAt": "<string>", "deletedAt": "<string>" } ], "pagination": { "hasMore": true, "cursor": "<string>" } }
Get versions of a prompt partial
API key for authentication
Unique identifier for the workspace
Unique identifier for the prompt partial
Maximum number of records to return (max: 100)
x <= 100
Unique identifier for the cursor
Prompt partial versions retrieved successfully
Show child attributes
Was this page helpful?